package com.aya.autowire;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RootBean implements IFlag {
    @Resource
    private LeafBean leafBean;


    private List<LeafBean> leafBeanList;
    @Resource
    public void setLeafBeanList(List<LeafBean> leafBeanList) {
        this.leafBeanList = leafBeanList;
    }
}
